package com.xja.git.mapper;

import com.xja.git.entity.Book;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BookMapper {
    int insert(Book book);
    Book selectById(Integer id);
    int delete(Integer id);
    int update(Book book);
    List<Book> selectAll();
}